package handler

import (
	"fitness/pkg"
	"github.com/gin-gonic/gin"
)

func RouLoad(r *gin.Engine) {
	r.POST("user/login", UserLogin)
	r.POST("fitness/list", FitnessList)
	r.POST("user/reservation", FindUserReservation)
	r.Use(pkg.JWTAuth("2209A"))
	r.POST("add/reservation", AddReservation)

	r.POST("reservation/list", ReservationList)
}
